// 初始状态标志
var menuOpen = false;

function toggleMenu() {
    var sideMenu = document.getElementById("sideMenu");
    var menuToggle = document.getElementById("menuToggle");

    if (menuOpen) {
        // 收起菜单
        sideMenu.style.left = "-250px";
        menuToggle.style.left = "10px";
        menuOpen = false;
    } else {
        // 展开菜单
        sideMenu.style.left = "0px";
        menuToggle.style.left = "260px";
        menuOpen = true;
    }
}


